<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录页面</title>
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/login.css">
    <link rel="stylesheet" href="css/common.css">


</head>

<body>
<iframe src="header.jsp" width="100%" height="100px" scrolling="no" frameborder="0"></iframe>
<div class="main">
    <iframe src="main_left.jsp" width="200px" height="100%" scrolling="no" frameborder="0"></iframe>
    <div class="right">
        <div class="login">
            <h4>登录信息</h4>
            <div class="loginForm">
                <div class="loginForm_left">
                    <ul>
                        <li><label for="vcode">账号名：</label></li>
                        <li><label for="vcode">密码：</label></li>
                      
                    </ul>
                </div>
                <div class="loginForm_right">
                    <ul>
                        <form action="loginServlet" method="post">
                            <div class="container">

                                <div class="form-inline">
                                    <input type="text" name="username" class="form-control" >
                                    <br>
                                    <input type="password" name="password" class="form-control" >
                                    <br>
                                    <select name="timeLength">
                                    <option value="0" selected>每次都要登录</option>
                                    <option value="7" >7天内免登录</option>
                                    <option value="10" >10天内免登录</option>
                                    </select>
                                    <br/>
                                    <input class="btn btn btn-primary" type="submit" value="登录">
                                    <input class="btn btn btn-primary" type="submit" value="返回">
                                </div>
                            </div>
                        </form>
                    </ul>

                </div>
                <!-- 出错显示的信息框 -->
                <div id="login_msg" class="alert alert-warning alert-dismissible" role="alert">
                    <button type="button" class="close" data-dismiss="alert" >
                        <span>&times;</span></button>
                    <strong id="msg">${login_msg}</strong>
                </div>
            </div>
        </div>
    </div>
</div>
<iframe src="footer.jsp" width="100%" scrolling="no" frameborder="0"></iframe>

</body>

</html>